﻿@{
    Layout = null;
}
<script src="~/Scripts/MGJJS/FleeGoods/Records.js"></script>
<div class="mtlr15">
    <div id="InfoForm">
        <div class="row">
            <div class="col-lg-5 col-md-5 col-sm-5 col-lg-offset-7 col-md-offset-7 col-sm-offset-7">
                <div class="input-group">
                    <input type="text" class="form-control" name="psearch" placeholder="物流码" id="psearch" onkeydown="if (event.keyCode == 13) { $.MGJ.Records.Ajax_OutList(); }">
                    <span class="input-group-addon" onclick="$.MGJ.Records.Ajax_OutList();">
                        <span class="glyphicon glyphicon-search"></span>
                    </span>
                </div>
            </div>
        </div>
    </div>
    <div id="Table">
        <div class="overflow">
            <table class="table table-hover table-bordered">
                <thead>
                    <tr>
                        <th>出库时间</th>
                        <th>出库人</th>
                        <th>收货经销商</th>
                        <th>经销商等级</th>
                    </tr>
                </thead>
                <tbody id="ListBoxInfo" style="display:none" binding="{'pageCallback':' $.MGJ.Records.Ajax_OutList','emptyHtml':OMID_EmptyHtml}">
                    <tr>
                        <td binding="{'text':'CreateDate','textHandle':'datetime'}"></td>
                        <td binding="{'text':'CreateloginName'}"></td>
                        <td binding="{'text':'DistributorName'}"></td>
                        <td binding="{'text':'DisLevelName'}"></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
<script>
    var ColspanNub = $(".table.table-hover.table-bordered").find("tr").children("td").length
    window.OMID_EmptyHtml = '<tr><td colspan="' + ColspanNub + '"><p class="no-result">无符合条件的数据结果</p></td></tr>';
    
    $.MGJ.Records.Ajax_OutList("Initing");
  
    
</script>